package com.fary;

import cn.hutool.http.HttpGlobalConfig;
import cn.hutool.http.HttpUtil;
import com.fasterxml.jackson.databind.ObjectMapper;

public class Test {

    public static void main(String[] args) {
        HttpGlobalConfig.setTimeout(10);
        String result1= HttpUtil.get("https://www.baidu.com");
        System.out.println(result1);

    }
}
